* {
  padding: 0;
  margin: 0;
}

body {
  --color: #a7ff87;
  --yellow: #fcff1e;
  --pink: #f9ced1;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-width: 900px;
  max-height: 100%;
  font-size: 12px;
}

a {
  display: inline-block;
  padding: 0 2px;
  color: var(--pink);
  text-decoration: none;
  border-bottom: 1px dotted var(--pink);
}
::selection{
  background-color: #8eebdd;
}
.header,
.topTxt,
.nextbtn,
.noselect{  /* 禁止选中，选中后无蓝色底 */
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  -webkit-user-select: none;
  -moz-user-focus: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.header {
  display: block;
  z-index: 9;
  position: fixed;
  top: 0;
  left: 0;
  box-sizing: border-box;
  padding: 0 36px;
  width: 100vw;
  height: 42px;
  line-height: 42px;
  background-color: #353536;
}

.header::before {
  display: block;
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 18px;
  height: 18px;
  clip-path: polygon(50% 0%, 80% 50%, 50% 100%, 20% 50%);
  background-image: linear-gradient(0deg, #fa3 10%, #ff69ad 50%, #63c3ff 100%);
  animation: rotate 2s infinite;
}

.header::after {
  display: block;
  content: "";
  position: absolute;
  left: 15px;
  bottom: 8px;
  width: 6px;
  height: 1px;
  border-radius: 50%;
  border: 1px solid #ff69ad;
  background-color: #f45dab;
  box-shadow: 0 0 4px 0 #ff69ad;
  transition: 500ms;
}

.header:hover::before {
  top: 11px;
}

.header:hover::after {
  box-shadow: 0 -0.5px 3px 1px #ff80c8;
}

@keyframes rotate {
  from {
    transform: rotateY(0deg);
  }

  to {
    transform: rotateY(180deg);
  }
}

.iconLink {
  display: inline-block;
  font-size: 1.4em;
  letter-spacing: 4px;
  background-image: linear-gradient(106deg, #fa3, #ff69ad, #63c3ff, #aaff33);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: text-shadow 1s;
  cursor: pointer;
}
.iconLink a{
  border: none;
}
.header:hover h1 {
  text-shadow: 0 1px 0 #1c1c29;
}

.dateTxt {
  z-index: 10;
  position: fixed;
  top: 18px;
  right: 20px;
  font-family: Arial, Verdana, Helvetica;
  height: 24px;
  line-height: 18px;
  color: #fff;
}

.dateTxt .day {
  display: inline-block;
  position: relative;
  top: 2px;
  left: 1px;
  width: 27px;
  font-size: 24px;
  text-align: center;
  background-image: linear-gradient(106deg, #fa3, #ff69ad, #63c3ff, #aaff33);
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
}

.dateTxt b:nth-of-type(1) {
  position: absolute;
  left: -35px;
  top: -5.5px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 1px;
  transform: rotateZ(90deg);
}

.dateTxt b:nth-of-type(2) {
  display: inline-block;
  position: relative;
  left: -8px;
  top: -16px;
  width: 14px;
  font-size: 14px;
  text-align: center;
}

.dateTxt::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 30px;
  width: 1px;
  height: 28px;
  background-color: #aaa;
  transform: rotateZ(14deg);
}

.dateTxt::after {
  content: attr(data-week);
  position: absolute;
  top: -15px;
  left: 10px;
  font-size: 12px;
  font-weight: 400;
  transform: scale(0.7);
}

.title { /*盒子标题*/
  margin-bottom: 20px;
  padding-right: 20px;
  font-size: 1.4em;
  text-align: center;
  text-shadow: -1px -1px #fefefe, 1px 1px #a4537c;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}


.topTxt {
  position: relative;
  margin-top: 102px;
  margin-bottom: 60px;
}

.text1 {
  /* 发光文本 */
  display: inline-block;
  margin-right: 40px;
  font-size: 5em;
  line-height: 1em;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 0 10px #fff,
    0 0 20px #fff,
    0 0 40px #fff,
    0 0 80px #fff,
    0 0 120px #fff,
    0 0 160px #fff;
}
.text1::after{
  display: block;
  content: "路在 脚下";
  position: absolute;
  left: 160px;
  bottom: -4px;
  font-size: 12px;
  width: 0%;
  height: 100%;
  text-shadow: none;
  transition: 1s;
  overflow: hidden;
}
.topTxt:hover .text1::after{
  width: 100%;
}
.text2 {
  display: inline-block;
  position: relative;
  font-size: 4em;
  line-height: 0.88em;
  letter-spacing: 2px;
  /* 镂空文字 */
  color: transparent;
  -webkit-text-stroke: 1px #aaff33;
  border: none;
  cursor: pointer;
}

.text2::before {
  content: attr(data-text);
  position: absolute;
  color: var(--color);
  width: 0%;
  height: 100%;
  border-right: 6px solid var(--color);
  -webkit-text-stroke: 1px var(--color);
  overflow: hidden;
  transition: 1s;
}

.topTxt:hover .text2::before {
  width: 100%;
  filter: drop-shadow(0 0 25px var(--color));
}

.back {
  z-index: -1;
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  /* background-image: url("http://picsum.photos/id/314/1520"); */
  background-image: url(static/road.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}

.content-wrapper {
  box-sizing: border-box;
  position: relative;
  width: 820px;
}

.btn-main{
  z-index: 3;
  position: absolute;
  left: 408px;
  top: 36px;
  width: 40px;
  height: 40px;
  font-size: 1.2em;
  text-align: center;
  border: none;
}
.yixiuBtn{
  top: 116px;
}
.btn-main::before,
.btn-main::after{
  content: "";
  z-index: -1;
  position: absolute;
  left: 0;
  top: -10px;
  width: 40px;
  height: 40px;
  background-color: rgba(52,52,52,0.8);
  border: 1px dashed var(--pink);
  transform: rotate(45deg);
}
.btn-main::after{
  transform: rotate(60deg);
  transition: 1s;
}
.btn-main:hover::after {
  transform: rotate(380deg);
}

.box{
  z-index: 2;
  position: relative;
  box-sizing: border-box;
  padding: 30px;
  width: 420px;
  height: 442px;
  border-radius: 20px;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: 1px 1px 16px -5px #3f9a96;
}
.box::before {
  display: block;
  content: "";
  z-index: 1;
  position: absolute;
  left: 26px;
  top: 22px;
  width: 30px;
  height: 20px;
  background-color: var(--yellow);
  clip-path: polygon(0% 0%, 32% 62%, 50% 0%, 68% 62%, 100% 0%, 82% 100%, 18% 100%);
  transform: rotate(-38deg);
}

.box::after {
  display: block;
  content: "";
  z-index: -1;
  position: absolute;
  left: 24px;
  top: 24px;
  width: 116px;
  height: 116px;
  padding: 3px;
  background-color: #fff;
  background-clip: content-box;
  border: 1px solid var(--yellow);
  border-radius: 50%;
}
.box-content {
  position: relative;
  height: 100%;
  line-height: 1.6em;
}

.canvas {
  display: none;
  float: left;
  margin-right: 30px;
  height: 112px;
  clip-path: circle();
  shape-outside: circle();
  cursor: pointer;
}

.canvas.active {
  display: inline-block;
}

.avatar {
  display: none;
  float: left;
  box-sizing: border-box;
  margin-right: 30px;
  /* padding: 20px; 不能设置 */
  width: 112px;
  height: 112px;
  clip-path: circle();
  shape-outside: circle();
  cursor: pointer;
  transition: 500ms;
}

.avatar.active {
  display: inline-block;
}

.avatar:hover {
  transform: scale(1.02);
}

.box-title {
  padding-bottom: 12px;
  min-height: 118px;
}

.box-title p {
  padding: 6px 2px;
  color: #fff;
  background-image: linear-gradient(to right, transparent 88px, rgba(240,170,172,.5) 80%, transparent);
  text-shadow: 0.5px 0.5px var(--pink), 0 0 var(--pink);
}

.box-title p:hover {
  text-shadow: none;
}

.line {
  position: relative;
  left: 4px;
  width: calc(100% - 8px);
  height: 0.5px;
  line-height: 8px;
  background-color: #b7f6f6;
  border: none;
}

.line::before,
.line::after {
  display: block;
  content: "";
  z-index: 2;
  position: absolute;
  left: -2px;
  top: -2px;
  width: 2px;
  height: 3px;
  border-radius: 50%;
  background-color: var(--pink);
  border: 1px solid #fff;
}

.line::after {
  left: unset;
  right: -2px;
}

.line .nextbtn {
  position: absolute;
  top: -6px;
  right: 32px;
  width: 46px;
  line-height: 14px;
  height: 14px;
  font-size: 12px;
  text-align: center;
  color: #2f3278;
  background-image: linear-gradient(72deg, var(--pink), #8ed4c2);
  clip-path: polygon(0% 50%, 18% 100%, 82% 100%, 100% 50%, 82% 0%, 18% 0%);
  cursor: pointer;
}

.line .nextbtn:hover {
  color: #b209d3;
}

.boxmore {
  position: absolute;
  margin-top: 14px;
  padding-right: 10px;
  width: 100%;
  height: calc(100% - 148px);
  color: #8ed4c2;
  overflow: auto;
}



.boxmore b:hover {
  color: #f0feff;
}

.boxmore p {
  margin-bottom: 6px;
}

.section {
  display: none;
  width: 100%;
  height: 100%;
  color: #000;
}

.section.active {
  display: block;
}

.box-record {
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 200px;
  height: 22px;
  color: #72c0d2;
  font-weight: 700;
  font-size: 12px;
  transform: scale(0.8);
}

.box-record::before {
  display: inline-block;
  content: "";
  position: relative;
  left: -6px;
  top: 1.5px;
  width: 4px;
  height: 4px;
  background-color: #63c3ff;
  background-clip: content-box;
  border: 4px solid rgba(99, 195, 255, 0.4);
  border-radius: 50%;
}

.box-record .time {
  display: inline-block;
  padding: 0 4px;
  font-size: 1.1em;
  color: var(--yellow);
}

.instance{
  position: absolute;
  top: 0;
  right: 0;
  box-sizing: border-box;
  width: 380px;
  height: 442px;
  color: #ffa9a9;
  box-shadow: 1px 1px 16px -5px #3f9a96;
}
.instance-title{
  z-index: 1;
  position: absolute;
  top: 28px;
  width: 100%;
  text-align: center;
  font-size: 1.4em;
  text-shadow: -1px -1px #36736d, 1px 1px #fefefe;
  letter-spacing: 1px;
}
.instance-content{
  position: absolute;
  top: 0;
  right: 0;
  box-sizing: border-box;
  padding: 10px 20px;
  width: 380px;
  height: 442px;
  background-color: rgba(252, 232, 240, 0.3);
  border: 27px solid #ebe5ea;
  border-top-width: 70px;
  border-radius: 10px;
  overflow-y: auto;
  background-image: linear-gradient(rgba(254, 205, 230,.6) 1px, transparent 0), linear-gradient(to right, rgba(254, 205, 230,.6) 1px, transparent 0);
  background-size: 5px 5px;
}
.instanceUl{
  padding: 6px;
  max-width: 520px;
  margin: 0 auto;
  /* color: #000; */
  color: #fff;
  list-style: none;
  
}
li{
  margin: 8px 0;
  padding: 0 10px;
  line-height: 2em;
  background-color: rgba(255, 200, 200, 0.6);
}
li:hover{
  background-color: rgba(52, 22, 22, 0.3);
}
.instanceUl span{
  float: right;
  font-size: 0.8em;
}
.instance a{
  text-decoration: none;
  color: #fff;
  text-shadow: 0.5px 0.5px #ffd7d7, 0 0 var(--pink);
}


/* 滚动条简单设置 */
.boxmore::-webkit-scrollbar,
.instance-content::-webkit-scrollbar{
  width: 4px;
  background-color: rgba(220, 220, 222, 0.4);
  border-radius: 4px;
}

.boxmore::-webkit-scrollbar-thumb,
.instance-content::-webkit-scrollbar-thumb{
  background-color: currentColor;
  border-radius: 4px;
}